package designpattern.observer;

public abstract class Subject<E> {
    abstract boolean attach(Observer<E> observer);

    abstract boolean detach(Observer<E> observer);

    abstract void notify(E event);
}
